﻿using System;
using System.Data.Linq.Mapping;
using System.Windows.Media.Imaging;

namespace Notes.Model
{
    [Table]
    public class Photo
    {
        [Column(IsDbGenerated = true, IsPrimaryKey = true)]
        public int Id { get; set; }
        [Column]
        public int NoteId { get; set; }
        [Column]
        public string FileName { get; set; }
        [Column]
        public bool Deleted { get; set; }
        [Column]
        public DateTime Edited { get; set; }

        public BitmapImage Bitmap { get; set; }
    }
}
